<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>BlogBlind</title>
  <%= stylesheet_link_tag 'standard' %>
  <%= javascript_include_tag :defaults %>
</head>
<body>
	
<div class="topbar">
	<div class="header">
			<div class="logo">
				<%= link_to(image_tag("logo.gif", :size => "174x50", :alt => "BlogBlind", :style => "border:none"),$base_url)%>
			</div>
			<div id="login">
				<%= link_to_remote ( 'New blog?',
                            :update => 'login',
                            :url => { :controller=>'blogs', :action => 'new' }) %>
            </div>
	</div>
    <div id="navbar">
		<div class="menu">
			<%= render :partial => "blogs/navigator" %>
		</div>
		<div class="searchbar">
			<%= render :partial => "blogs/searchbar" %>
		</div>	
		
    </div>
</div>



<div id="main">
	<p style="color: green"><%= flash[:notice] %></p>
	<%= yield  %></div>


<div id="footer">
	<%= link_to 'Blog', "http://blog-blind.blogspot.com" %>
	|
	Tools
	|
	<%= link_to 'Contact', "mailto:wraecca@gmail.com" %>
	|
	Help
	|
	<%= link_to_remote ( 'Guestbook',
                         :update => 'main',
                         :url => { :controller=>'blogs', :action => 'guestbook' }) %>
</div>
<!--Google Analytics-->
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-1268399-2";
urchinTracker();
</script>
<!--End Google Analytics-->

</body>
</html>
